def nor1(name):
    return str(name).capitalize()
L1=['adam','LISA','barA']
L2=list(map(nor1,L1))
print L2
def prod(L):
    def fn(x,y):
        return x+y
    return reduce(fn,L)
print prod([3,5,7,9])
def str2float(s):
    '''def str2num(s):
        return {'0':0,'1':1,'2':2,'3':3,'4':4,'5':5,'6':6,'7':7,'8':8,'9':9,'.':.}[s]'''
    def str2num(s):
        for i in s:
            j=0
            if i=='.':
                print j
                break
            j++
        for i in s[0:j]:
            